%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Projet calcul multiechelles
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

donnees.L=1;
donnees.E =20;
donnees.S =0.1;

F=1;



nombreElements = 25;
nombreElementsInt = 5;
nombreDomaines = 20;
maillageTot = [0:1/nombreElements:1];

sol = Solveur_classique(nombreElements,F,donnees);
u0 = zeros(nombreDomaines,1) ;
errMax = 0.01;
% [sol2] = Solveur_primal_GCD(nombreElements,nombreDomaines, F, donnees, u0, errMax);
[sol3] = Solveur_primal_GCP(nombreElements,nombreDomaines, F, donnees, errMax);

plot(sol3);